package model.client.request;

import model.protocol.AbstractPacket;

import static model.protocol.Command.SEND_TO_GROUP_MESSAGE;

/**
 * @Description 将消息发送到某一个群聊
 * @author czc
 */
public class SendToGroupRequestMessage extends AbstractPacket {
    private String groupId;
    private String massage;
    private String senderId;

    public SendToGroupRequestMessage(String groupId, String massage, String senderId) {
        this.groupId = groupId;
        this.massage = massage;
        this.senderId = senderId;
    }

    public String getGroupId() {
        return groupId;
    }

    public String getMassage() {
        return massage;
    }

    public String getSenderId() {
        return senderId;
    }

    @Override
    public Byte getCommand() {
        return SEND_TO_GROUP_MESSAGE;
    }
}
